class A :
    def __init__(self,x):
        self.num = x

class B :
    def __init__(self,x):
        self.num = x

class C :
    def __init__(self,x,y):
        self.a=A(x)
        self.b=B(y)
    def print(self):
        print('水池里面有乌龟%d条，鱼%d条'%(self.a.num,self.b.num))
